home *** CD-ROM | disk | FTP | other *** search
- Path: news.tau.ac.il!usenet
- From: "Avi L." <avil@sapiens.com>
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Help with parallel port programming...
- Date: Mon, 25 Mar 1996 15:20:43 +0200
- Organization: Sapiens Tech.
- Message-ID: <31569DAB.564E@sapiens.com>
- References: <4ihu64$1s5@kira.cc.uakron.edu> <31513E38.7885@fs1.ee.man.ac.uk>
- NNTP-Posting-Host: honda.sapiens.co.il
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.01 (WinNT; I)
-
- Christos Dimitrakakis wrote:
- >
- > Chris J Sorg wrote:
- > >
- > > I am attempting to read and write data to the parallel.device in order
- > > to communicate with an interface I built. I know that the parallel port on
-
- > First put the address at a register
- > LEA $bfe101,a1
- > set for input:
- > MOVE.b (a1),0
- > set for output
- > MOVE.b (a1),255
-
- well, hitting the hardware like that isn't necessary and it may confuse the parallel.device.
- the best way to do it is by the using the device's own API to initialize it properly, you
- know things like: comm speed, direction of the data flow (ie input or output) etc. the best
- way is just to open the RKM and have a look inside to see what needs to be done and how.
- also make sure the connected device is functioning properly. who knows, it might be the
- device's fault or even the cable.
-
- Avi Lev.
-